package edu.ccut.saturn.operation.database;

import java.sql.Connection;

public class DeleteByCondition {
	private static edu.ccut.saturn.basecomponent.database.facade.DeleteByCondition facade = null;
	private static DeleteByCondition instance = new DeleteByCondition();

	private DeleteByCondition() {
		facade = new edu.ccut.saturn.basecomponent.database.facade.DeleteByCondition();
	};

	public static DeleteByCondition getInstance() {
		return instance;
	}

	public int execute(String fullKey, String condition, Connection conn)
			throws Exception {
		return facade.execute(fullKey, condition, conn);
	}

}
